import {SingerSong} from '../../network/http'
Page({

  /**
   * 页面的初始数据
   */
  data: {
  id:'',
  SingSongList:[]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    this.setData({
      id:options.id
    })
    this.getSingSong()

  },

async getSingSong(){
  const {data:res}=await SingerSong(this.data.id)
 this.setData({
  SingSongList:res
 })
 }

})